package com.guigu.limeng.service.impl;

import com.guigu.limeng.mapper.MdesignproceduremoduledetailsMapper;
import com.guigu.limeng.pojo.Mdesignproceduremoduledetails;
import com.guigu.limeng.service.MdesignproceduremoduledetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MdesignproceduremoduledetailsServiceImpl implements MdesignproceduremoduledetailsService {

    @Autowired
    MdesignproceduremoduledetailsMapper mdesignproceduremoduledetailsMapper;


    @Override
    public List<Mdesignproceduremoduledetails> MdesignproceduremoduledetailsWZY_AddCha(int id) {
        return mdesignproceduremoduledetailsMapper.MdesignproceduremoduledetailsWZY_AddCha(id);
    }

    @Override
    public int LM_addWuLiao(Mdesignproceduremoduledetails mdesignproceduremoduledetails) {
        return mdesignproceduremoduledetailsMapper.LM_addWuLiao(mdesignproceduremoduledetails);
    }

    @Override
    public int limeng_Del_Mdesignproceduremoduledetails(Integer id) {
        return mdesignproceduremoduledetailsMapper.limeng_Del_Mdesignproceduremoduledetails(id);
    }

    @Override
    public int limeng_Add_Mdesignproceduremoduledetails(Mdesignproceduremoduledetails mdesignproceduremoduledetails) {
        return mdesignproceduremoduledetailsMapper.insert(mdesignproceduremoduledetails);
    }

    @Override
    public int limeng_UpDate_Mdesignproceduremoduledetails(Mdesignproceduremoduledetails mdesignproceduremoduledetails) {
        return mdesignproceduremoduledetailsMapper.updateByPrimaryKeySelective(mdesignproceduremoduledetails);
    }

    @Override
    public List<Mdesignproceduremoduledetails> limengMdesignproceduremoduledetailsSHCha(Integer id) {
        return mdesignproceduremoduledetailsMapper.limengMdesignproceduremoduledetailsSHCha(id);
    }

}
